package com.hgyc.mom.mes.vo;

import java.time.LocalDateTime;
import io.swagger.v3.oas.annotations.media.Schema;
import java.io.Serializable;
import java.time.LocalDateTime;
import lombok.Data;
import lombok.experimental.Accessors;
import jakarta.validation.constraints.Max;
import jakarta.validation.constraints.Min;

/**
 * <p>
 * 工艺路线查询类
 * </p>
 *
 * @author fwj
 * @since 2025-07-01
 */
@Data
@Schema(name="工艺路线查询对象", description="工艺路线查询对象")
public class MesRoutingParam implements Serializable {
    private static final long serialVersionUID = 1L;

    @Schema(description = "工艺路线编号")
    private String code;

    @Schema(description = "工艺路线名称")
    private String name;

    @Schema(description = "状态")
    private String status;


    /**
     * 页码
     */
    @Schema(description = "页码，默认1", example = "1")
    @Min(value = 1, message = "页码最小为1")
    private Integer page;

    /**
     * 页面大小
     */
    @Schema(description = "每页数量，默认10", example = "10")
    @Min(value = 1, message = "每页数量最小为1")
    @Max(value = 100, message = "每页数量最大为100")
    private Integer pageSize;
}